package question3;


public class Division extends Binaire{

	public Division(Expression expression1, Expression expression2){
		super(expression1, expression2);
	}

	public String toString(){
		return "(" + getExpression1().toString() + " / " + getExpression2().toString() + ")";
	}

	public int interprete(Contexte c){
//		if(getExpression2().interprete(c) == 0){
			return getExpression1().interprete(c) / getExpression2().interprete(c);
//		}
//		else 
//			return 0;
	}

}